/*
 * Copyright (c) 2019.
 * Private license for beyondts.
 * Contact beyondts for using, beyondts999@163.com
 */

package net.beyondts.mplug.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * The annotation assigned a method which needs be extended.
 * This is one of the two ways to defined an extension.
 * The parameter "id" defined the global identifier of current extension.
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Extension {
    String id();
}
